package entity.test03;

public class MainTest03 {
    public static void main(String[] args) {

    // 1、类继承关系
    //
            System.out.println(Number.class.isAssignableFrom(Integer.class));
    // 父类不可赋值给子类，输出: false
            System.out.println(Integer.class.isAssignableFrom(Number.class));
    }
}
